<div class="search_nav">
  <%= search_form_for @q, url: ems_store_staff_salaries_path do |f| %>
    <div class="date nav_item">
      <span>日期</span>
      <input type="text" value="<%= @current_month %>" readonly="true" disabled="true">
    </div>

    <div class="keywords nav_item margin-right-50">
      <span>关键字</span>
      <input type="text" placeholder="输入员工姓名进行查找" name="q[full_name_cont]" value="<%= @name %>" class="width-150">
      <%= submit_tag "查询", class: "btn query_btn"%>
    </div>

  <div class="float-right nav_item">
  </div>
  <% end %>
</div>
